layui.use(['laydate', 'layer'], function() {
	var $ = layui.$;
	var layer = layui.layer;
	var laydate = layui.laydate;
	laydate.render({
		elem: '#calendar',
		position: 'static'
	});
	shuju();

	function shuju() {
		$.ajax({
			type: "post",
			url: "/ordercount",
			async: true,
			success: function(data) {
				$(".ordercount").html(data);
			}
		});
		$.ajax({
			type: "post",
			url: "/distribcount",
			async: true,
			success: function(data) {
				$(".distribcount").html(data);
			}
		});
		$.ajax({
			type:"post",
			url:"/announcecount",
			async:true,
			success:function(data){
				$(".announcecount").html(data);
			}
		});
	}

});